package com.onlineClass.edu.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.conditions.query.QueryChainWrapper;
import com.onlineClass.edu.cache.LocalCache;
import com.onlineClass.edu.constant.LocalCacheKeyConstants;
import com.onlineClass.edu.entity.EduCourseClass;
import com.onlineClass.edu.mapper.EduCourseClassMapper;
import com.onlineClass.edu.service.IEduCourseClassService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author denghui
 * @since 2024-04-19
 */
@Service
public class EduCourseClassServiceImpl extends ServiceImpl<EduCourseClassMapper, EduCourseClass> implements IEduCourseClassService {
    @Autowired
    EduCourseClassMapper eduCourseClassMapper;

    @Override
    public List<EduCourseClass> getAll() {
        return eduCourseClassMapper.selectList(new QueryWrapper<>());
    }
}
